// 性别类型文本映射
export const GENDER_TYPE_MAP: Record<number, string> = {
  0: '男',
  1: '女',
}

// 性别选项映射
export const GENDER_TYPE_OPTIONS = Object.keys(GENDER_TYPE_MAP).map((key) => {
  const value = Number(key) // 将字符串 key 转换为数字
  return {
    label: GENDER_TYPE_MAP[value],
    value,
  }
})
